Smartcat\Includes\Services\Wpml S

Total Complexity 35
Dependencies 2
Dependents 6
Total lines 204
Lines of code 148
Logical lines of code 72
Comment lines 4
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
getIdsBySourceElements()
S
55 7 19
getStrings()
S
52 3 25
getTranslationId()
S
62 3 11
getElementLanguages()
S
62 3 11
getActiveLocales()
S
62 3 11
getTargetElementId()
S
63 3 10
getTranslatedPostIds()
S
59 1 14
makeDuplicate()
S
79 1 3
getActiveLanguages()
S
79 1 3
getPostLanguageName()
S
78 1 3
getPostLanguageCode()
S
78 1 3
getTranslationsTable()
S
80 1 3
__construct()
S
73 1 5
registerString()
S
78 1 3
switchLang()
S
76 1 4
addTranslation()
S
64 1 10
getTranslations()
S
78 1 3
getTrid()
S
78 1 3
getPostLocale()
S
74 1 4